Total Complexity | 78 |
Dependencies | 4 |
Dependents | 50 |
Total lines | 336 |
Lines of code | 231 |
Logical lines of code | 155 |
Comment lines | 19 |
Methods | 12 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
ajax_load_module() | 33 | 26 | 83 | |
ajax_update_addon_status() | 47 | 13 | 31 | |
ajax_update_module_setting() | 51 | 8 | 23 | |
init() | 61 | 7 | 11 | |
ajax_get_token_usage_chart_data() | 52 | 6 | 23 | |
check_and_init_module_settings() | 57 | 4 | 16 | |
check_and_init_addon_status() | 57 | 4 | 16 | |
is_pro_plan() | 70 | 3 | 6 | |
get_module_settings() | 72 | 2 | 6 | |
get_addon_status() | 72 | 2 | 6 | |
is_addon_active() | 74 | 2 | 4 | |
register_ajax_handlers() | 69 | 1 | 6 |